<?php
session_start();
include 'connection.php';
$logout = $_POST['logout'];
if ($logout == true) {
	unset($_SESSION['userID']);
	unset($_SESSION['userEmail']);
	unset($_SESSION['roleID']);
	$arr = array('success' => true);
	echo json_encode($arr);
}
?>